import random  
import time  
def generate_unique_numbers(n):  
    start_time = time.time()  
    unique_numbers = set()  
    while len(unique_numbers) < n:  
        unique_numbers.add(random.randint(1, 100))  
        if time.time() - start_time > 1:
            break  
    return unique_numbers    
unique_nums = generate_unique_numbers(100)  
print(unique_nums)  
